package com.snailvr.tv.network.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/1/18.
 */

public class ChannelInfoResponBean implements Serializable {

    /**
     * code : 0
     * message : success
     * data : {"id":1,"name":"xxx","thumb":"xxx","icon":"xxxx","desc":"xxx","charge":true}
     */

    private int code;
    private String message;
    /**
     * id : 1
     * name : xxx
     * thumb : xxx
     * icon : xxxx
     * desc : xxx
     * charge : true
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        private int id;
        private String name;
        private String thumb;
        private String icon;
        private String desc;
        private boolean charge;
        private RoomInfoBean default_room_info;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public boolean isCharge() {
            return charge;
        }

        public void setCharge(boolean charge) {
            this.charge = charge;
        }

        public RoomInfoBean getDefault_room_info() {
            return default_room_info;
        }

        public void setDefault_room_info(RoomInfoBean default_room_info) {
            this.default_room_info = default_room_info;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", thumb='" + thumb + '\'' +
                    ", icon='" + icon + '\'' +
                    ", desc='" + desc + '\'' +
                    ", charge=" + charge +
                    ", default_room_info=" + default_room_info +
                    '}';
        }
    }
}
